home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20021006-20030409
/
000315_observer@helpful.aq_Sun Feb 16 16:42:16 EST 2003.msg
< prev
next >
Wrap
Text File
|
2020-01-01
|
2KB
|
50 lines
Article: 14111 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!cyclone.swbell.net!bos-service1.ext.raytheon.com!cambridge1-snf1.gtei.net!news.gtei.net!transfer.stratus.com!stratagy.com!runge-kutta.org!helpful.aq
From: Helpful Observer <observer@helpful.aq>
Newsgroups: comp.unix.misc,comp.protocols.kermit.misc
Subject: Re: Nasty nulls in FTP
Date: Sun, 16 Feb 2003 15:15:15 -0500
Organization: minuscule vestiges
Lines: 33
Expires: 14 Mar 2003 01:01:01 -0000
Message-ID: <nasty.nulls.on.the.internet@helpful.aq>
References: <1194685a.0302131007.4d6c674f@posting.google.com>
<m1wuk37a6p.gnus@usa.net> <3e4ccd43$3_3@news.iglou.com> <m1wuk37a6p.gnus@usa.net> <3e4ccd43$3_3@news.iglou.com>
NNTP-Posting-Host: list.stratagy.com
Xref: newsmaster.cc.columbia.edu comp.unix.misc:59679 comp.protocols.kermit.misc:14111
On 13 Feb 2003 10:07:47 -0800, generic*arigatoo.net wrote...
>
> I'm transferring files from a OS/3900 mainframe to a Unix box. The
> mainframe data contains nulls (x00), which causes lines in the data to
> be truncated in transit.
>
> Is there an FTP option to handle this?
Somebody gave advice to simply use the 'binary' mode of the
FTP protocol. This may not be the whole problem.
First of all, I suggest that you consider whether some part
of this IBM-mainframe data is textual, with characters encoded
in EBCDIC, rather than in ASCII. Hardly any computers other
than IBM mainframes use EBCDIC these days, and your Unix
machine will need to see ASCII. Converting between the two
encodings is possible but there are pitfalls for the unwary.
Another poster mentioned Kermit, and that's not a bad idea,
since the Kermit protocol was designed to be able to handle
data transfers involving EBCDIC-to-ASCII translation. Try
http://www.columbia.edu/kermit/
BUT, is the data really a pure stream of text characters, or is it
data with some arbitrary encoding? I hope you are not expecting
to copy a DB2 database from the IBM machine and plop the raw
file onto some Sun box running Oracle and watch it 'just work'!
--
H.O.